package Agent;

import Env.Environment;
import Env.State;

public class AStarAgent extends GreedyAiAgent {

	public AStarAgent(int start, int goal, Environment env) throws Exception {
		super(start, goal, env);
		
	}

	@Override
	protected float getStateRank(State s) throws Exception {
		return super.getStateRank(s)+s.getWork();
	}
	

}
